package com.treasure.mall.zbq.common.ienum.log;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.treasure.mall.zbq.common.ienum.base.CodeDescCommonEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 余额日志类型
 *
 * @author guomw
 * @version 1.0
 * @date 2019/10/19 00:39
 */
@Getter
@AllArgsConstructor
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum LogDataType implements CodeDescCommonEnum {
    /**
     * 余额
     */
    BALANCE(0, "余额"),
    WAIT_BALANCE(1, "待入账余额"),
    MERCHANT_BALANCE(2, "货款"),
    MERCHANT_WAIT_BALANCE(3, "待入账货款"),
    ;

    private Integer code;
    private String desc;
}
